package com.ttn.business.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ttn.common.core.entity.PageQuery;
import com.ttn.common.core.entity.Result;
import com.ttn.common.core.entity.business.CourseUnitHearing;
import com.ttn.common.core.entity.business.bo.CourseUnitHearingBO;

public interface CourseUnitHearingService extends IService<CourseUnitHearing> {

    Result saveCourseUnitHearing(CourseUnitHearingBO courseUnitHearingBO);

    Result modifyCourseUnitHearing(CourseUnitHearingBO courseUnitHearingBO);

    Result deleteCourseUnitHearingById(Integer id);

    Result queryCourseUnitHearingById(Integer id);

    Result queryCourseUnitHearingByCourseUnitIdPage(Integer courseUnitId, PageQuery pageQuery);

}
